home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
tex
/
td187src.lzh
/
TYPES.D
< prev
next >
Wrap
Text File
|
1991-12-14
|
3KB
|
52 lines
DEFINITION MODULE Types;
FROM MagicSys IMPORT sWORD, sINTEGER;
CONST ExtendedArraySize = 1000;
CharArraySize = 128;
TYPE sourceformat = (img, stad, gem, calamus, postscript);
targetformat = (tex, metafont, gfpk);
specialformat = (Normal, Cstrunk, Eepic, Metafont, Postscript);
LatexSpecials = ( nothing, tpic, cstrunk1, cstrunk2, emtex );
DrawObjectTyp = ( Picture,
Line, Arrow,
Circle, Disk, Oval,
Framebox, Dashbox, Ovalbox, Filledbox, Text,
Beziercurve, Bezierellipse,
EpicSolidLine, EpicDottedLine, EpicDashedLine,
EpicGrid, Arc, Spline, Ellipse );
TextPosTyp = ( NoJust, LeftTop, Left, LeftBot, Top,
Center, Bottom, RightTop, Right, RightBot );
CodeAryTyp = ARRAY [ 0..9 ] OF sINTEGER ;
CharPtrTyp = POINTER TO ARRAY [ 0..CharArraySize-1 ] OF CHAR ;
ExtendedPtrTyp = POINTER TO ARRAY [ 0..ExtendedArraySize ] OF sINTEGER ;
BitmapPtr = POINTER TO BitmapTyp ;
BitmapTyp = RECORD
xext, yext : sINTEGER;
map : POINTER TO ARRAY [0..32767] OF sWORD;
END;
ObjectPtrTyp = POINTER TO ObjectRecTyp ;
ObjectRecTyp = RECORD
Code : CodeAryTyp ;
CPtr : CharPtrTyp ;
EPtr : ExtendedPtrTyp ;
Selected : BOOLEAN; (* Auswahlflag *)
Locked : BOOLEAN; (* Schutz vor Änderungen *)
SurrDirty : BOOLEAN; (* Surround undefiniert ? *)
Surround : ARRAY [0..3] OF sINTEGER; (* umgebendes Rechteck *)
Children : ObjectPtrTyp; (* für Subpicture *)
Bitmap : BitmapPtr;
Next : ObjectPtrTyp ;
END ;
Block = RECORD x , y , w , h : sINTEGER ; END;
JputMarker = (None, PutDiamond, PutPlus, PutCircle,
PutSquare, PutOtimes);
Draw3D = (flat, extrude, pyramid);
LineMode = (polyline, polygon);
LineType = (EpicSolid, EpicDashed, EpicDotted, LatexLine);
ObjectSet = SET OF DrawObjectTyp;
CharSet = SET OF CHAR;
END Types.